package com.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 陈忠杰
 * @Date: 2021/07/05/14:42
 * @Description:
 */
public class ResourceAndPageInfoVO {
    private int pageNo;
    private String title;
    private String user_name;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GTM+8")
    private Date create_start_date;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GTM+8")
    private Date create_end_date;
    private int status;
    private String file_type;

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public Date getCreate_start_date() {
        return create_start_date;
    }

    public void setCreate_start_date(Date create_start_date) {
        this.create_start_date = create_start_date;
    }

    public Date getCreate_end_date() {
        return create_end_date;
    }

    public void setCreate_end_date(Date create_end_date) {
        this.create_end_date = create_end_date;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getFile_type() {
        return file_type;
    }

    public void setFile_type(String file_type) {
        this.file_type = file_type;
    }

    @Override
    public String toString() {
        return "ResourceAndPageInfoVO{" +
                "pageNo=" + pageNo +
                ", title='" + title + '\'' +
                ", user_name='" + user_name + '\'' +
                ", create_start_date=" + create_start_date +
                ", create_end_date=" + create_end_date +
                ", status=" + status +
                ", file_type='" + file_type + '\'' +
                '}';
    }
}
